:root {
  --mainColor: rebeccapurple;
}

* {
  color: var(--mainColor);
}

.page-enter-active, .page-leave-active {
  transition: opacity .5s;
}
.page-enter, .page-leave-active {
  opacity: 0;
}